package com.spi.demo;

import java.util.ServiceLoader;

public class SpiMain {
	    public static void main(String[] args) {
	        ServiceLoader<IShout> shouts = ServiceLoader.load(IShout.class);
	        for (IShout s : shouts) {
	            s.shout();
	        }
	    }
	}
